package mod.cohen.classycalculator;

public class Calculator {
	public static double add(double num1, double num2){
		return (num1 + num2);
	}
	public static double subtract(double num1, double num2){
		return (num1 - num2);
	}
	public static double multiply(double num1, double num2){
		return (num1 * num2);
	}
	public static double divide(double num1, double num2){
		return (num1 / num2);
	}
	public static double exponent(double num1, double num2){
		double num3 = num1;
		for (num2 = num2; num2 > 1; num2--){
			num3 = num3 * num1;
		}
		return (num3);
	}

}
